package com.mcc.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 当前在线会话
 *
 * @author gxy
 */
@ApiModel("在线会话对象")
@Data
public class SysUserOnline implements Serializable {

    @ApiModelProperty("会话ID")
    private String tokenId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("登录IP地址")
    private String ipaddr;

    @ApiModelProperty("登录地点")
    private String loginLocation;

    @ApiModelProperty("浏览器类型")
    private String browser;

    @ApiModelProperty("操作系统")
    private String os;

    @ApiModelProperty("登录时间")
    private Long loginTime;

}
